package com.beans;

import creator.ui.graphics.Magicanvas;
import creator.ui.graphics.bean.Bean;
import java.awt.Image;

public class ReadyBean extends Bean {

  private Image ready;
  private int readyX;
  private int readyY;
  private int readyW;
  private int readyH;

  public void initBean(Magicanvas cvs) {
    this.ready = getImage("/res/img/ready.png");
    trackerImage(this.ready, cvs);

    this.readyW = this.ready.getWidth(cvs);
    this.readyH = this.ready.getHeight(cvs);
    this.readyX = (172 - this.readyW / 2);
    this.readyY = (int) (307.0F - this.readyH * 3.0F);
  }

  public Image getReady() {
    return this.ready;
  }

  public void setReady(Image ready) {
    this.ready = ready;
  }

  public int getReadyX() {
    return this.readyX;
  }

  public void setReadyX(int readyX) {
    this.readyX = readyX;
  }

  public int getReadyY() {
    return this.readyY;
  }

  public void setReadyY(int readyY) {
    this.readyY = readyY;
  }

  public int getReadyW() {
    return this.readyW;
  }

  public void setReadyW(int readyW) {
    this.readyW = readyW;
  }

  public int getReadyH() {
    return this.readyH;
  }

  public void setReadyH(int readyH) {
    this.readyH = readyH;
  }
}
